//
//  YGScienceCenterTypeModel.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/4/23.
//

#import "JSONModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol YGScienceCenterSubscribeArrayModel,YGScienceTypeModel,YGScienceCenterArticleModel;




@interface YGScienceCenterTypeModel : JSONModel
@property (nonatomic, strong) NSArray <YGScienceCenterSubscribeArrayModel> *subscribe;     //科普分类订阅信息
@property (nonatomic, strong) NSArray <YGScienceTypeModel> *type;      //科普分类信息
@property (nonatomic, strong) NSArray <YGScienceCenterArticleModel> *article;          //推荐文章信息

@end

@interface YGScienceCenterSubscribeArrayModel : JSONModel
@property (nonatomic, strong) NSString *id;
@property (nonatomic, strong) NSString *imgUrl;
@property (nonatomic, strong) NSString *name;
@end

@interface YGScienceTypeModel : JSONModel
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *id;
@property (nonatomic, strong) NSArray <YGScienceCenterSubscribeArrayModel> *lowerData;
@end


@interface YGScienceCenterArticleModel : JSONModel
@property (nonatomic, strong) NSString *shortContent;
@property (nonatomic, strong) NSString *theme;
@property (nonatomic, strong) NSString *fileUrl;
@property (nonatomic, strong) NSString *id;

@end
NS_ASSUME_NONNULL_END
